package com.hiyee.enums;

/**
 * 用户激活状态
 *
 * @author WangBin
 */
public enum UserStatus {

    ACTIVE(1, "已激活"),
    INACTIVE(0, "未激活"),
    FROZEN(2, "已冻结");

    private int value;
    private String label;
    UserStatus(int value, String label) {
        this.value = value;
        this.label = label;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
